name :=hawq

i:
	helm install ${name} .
u:
	helm uninstall ${name}
r: u i

p:
	kubectl get po
l:
	kubectl logs ${name}
d:
	kubectl get po|grep ${name}|awk -F" " '{print  $$1}'|xargs -t -I {} kubectl describe po {}
log:
	kubectl get po|grep ${name}|awk -F" " '{print  $$1}'|xargs -t -I {} kubectl logs {}
e:
	kubectl get po|grep ${name}|awk -F" " '{print  $$1}'|xargs -t -I {} kubectl exec -it {} -- /bin/bash